{template header}

<style>
    .hp-visited a:visited{color: #444;}
    .input-append button{font-size:12px;}
</style>
<div style="clear:both">
    <h5>
        <span class="add-on"><i class="icon-calendar"></i> 水印列表 </span>
        <span class="add-on">
            <code><a href="./?c=admin&a=watermarks&ac=update">添加水印</a></code>
        </span>
    </h5>
</div>

<table class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th><center>水印ID</center></th>
            <th><center>效果图</center></th>
            <th><center>素材图</center></th>
            <th><center>操作</center></th>
        </tr>
    </thead>
    <tbody>
        {loop $watermarks $watermark}
        <tr>
            <td><center><code style="color:#333">{$watermark['wid']}</code></center></td>
            <td><center><img src="{$watermark['demo_img']}"></center></td>
            <td><center><img src="{$watermark['material_img']}"></center></td>
            <td><center>
                <code style="color:#333"><a href="./?c=admin&a=watermarks&ac=update&wid={$watermark['wid']}">编辑</a></code>
                <code style="color:#333"><a href="./?c=admin&a=watermarks&ac=del&wid={$watermark['wid']}" onclick="return confirm('确定要删除该水印?')">删除</a></code>
            </center></td>
        </tr>
        {/loop}
    </tbody>
</table>


{template footer}